package scheduler

import (
	"monkeyCode/ftp/analyze"
	"monkeyCode/ftp/conn"
	"monkeyCode/ftp/download"
)


func Run(){
	go analyze.GetTodayFiles()
	for i:=0;i<conn.Conf.Concurrency;i++{
		go download.DownLoad(analyze.PendingChan)
	}

	select {

	}
}
